From 12809f7380e78ebbf55f8ae0ed2923ae9b2018d8 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 6 Mar 2025 10:33:16 +0100 Subject: [PATCH] luci-base: shorten button text to Apply checked The button text is very long and breaks the css layout, so it is changed to 'Apply checked'. This also has the advantage that the button is structured in the same way as the other one, which is called 'Appply unchecked'. This enhances the look and feel Signed-off-by: Florian Eckert --- modules/luci-base/htdocs/luci-static/resources/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index cbb28a3bcf..e277bbe1b4 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4899,7 +4899,7 @@ const UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { E('button', { 'class': 'btn cbi-button-action important', 'click': resolveFn.bind(null, true) - }, [ _('Apply, reverting in case of connectivity loss') ]), ' ', + }, [ _('Apply checked') ]), ' ', E('button', { 'class': 'btn cbi-button-negative important', 'click': resolveFn.bind(null, false) -- 2.30.2